package com.jxd.project.travel.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName Ticket
 * @Description TODO
 * @Author 邢子剑
 * @Date 2025/9/22 下午1:55
 * @Version 1.0
 */
@Data
@TableName("ticket")
public class Ticket {
    @TableId(value = "ticketId",type = IdType.ASSIGN_UUID)
    private int ticketId;
    @TableField("empno")
    private int empno;
    @TableField("departure")
    private String departure;//出发地
    @TableField("arrival")
    private String arrival;//到达地
    @TableField("startTime")
    private String startTime;
    @TableField("endTime")
    private String endTime;
    @TableField("way")
    private String way;
    @TableField("price")
    private double price;
    @TableField("type")
    private String type;
    @TableField("travelId")
    private String travelId;
    @TableField("ticketImage")
    private String ticketImage;

}
